<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let x, y, z;
      x = 5;
      y = 6;
      z = x + y;

      const person = {
        name: "tom",
        age: 20,
        address: "123",
      };

      switch (person.age) {
        case 20:
          console.log(person.age);
          break;

        default:
          break;
      }

      function fn() {
        console.log("fn");

        return "fn";
      }
    </script>
  </body>
</html>
